#!/usr/bin/python
import json

class JsonUtils(object):

    @staticmethod
    def toJSON(jsonStr):
        return json.loads(jsonStr)

    @staticmethod
    def loadJsonFromFile(jsonFile):
        with open(jsonFile, 'r',encoding='UTF-8') as f:
            return (f.read())

    @staticmethod
    def loadJsonFromStr(jsonStr):
        return json.dumps(jsonStr)